package behavior.memento;

import java.util.ArrayList;
import java.util.List;

public class BackupCaretaker {
	private List<BackupMemento> mementoList = new ArrayList<BackupMemento>();

	public void add(BackupMemento memento) {
		mementoList.add(memento);
	}

	public BackupMemento get(int index) {
		return mementoList.get(index);
	}
}
